<script lang="ts">
import ListLogic from "./ListLogic"

export default ListLogic
</script>
<template>
  <el-table :data="data" @selection-change="choiceResList"  border width="100%">
    <el-table-column type="selection"/>
    <el-table-column prop="id" label="ID" width="80"/>
    <el-table-column prop="name" label="名称" min-width="200"/>
    <el-table-column label="操作" width="80">
      <template #default="{ row }">
        <el-button type="primary" size="small" @click="EditFileName(row)">编辑</el-button>
      </template>
    </el-table-column>
  </el-table>
</template>